package org.yiming.tools.mqtt.client.client.command;

import lombok.Getter;
import lombok.Setter;
import org.yiming.tools.mqtt.client.client.MqttClient;

/**
 * @author renwenpeng
 * date  2022/3/25 4:58 下午
 */
public class MqttCommandContext {

    private static final MqttCommandContext COMMAND_CONTEXT = new MqttCommandContext();

    @Getter
    @Setter
    private MqttClient mqttClient = null;

    private MqttCommandContext() {
    }

    public static MqttCommandContext getSingleton(){
        return COMMAND_CONTEXT;
    }
}
